package com.gk.panda.gateway.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.panda.gateway.vo.UserVo;
import com.gk.panda.pojo.MenuBtns;
import com.gk.panda.pojo.UrlInfo;
import com.gk.panda.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    UserVo getUser(@Param("username") String username);

    List<UrlInfo> getUserPermission(@Param("username") String username);

    List<MenuBtns> getUserMenuBtns(@Param("username") String username);

    List<UrlInfo> getExcludeUrl();
}
